import { configureStore } from "@reduxjs/toolkit"
import userReducer from './modules/user'

export default configureStore({
    reducer: {
        user: userReducer,
    }
})

export { setName, setCount } from './modules/user'
export type Store = ReturnType<typeof store.getState>